const runtime.sweepDrainedMask
10 uses
runtime (current package)
mgc.go#L179: sweep.active.state.Store(sweepDrainedMask)
mgcsweep.go#L122: const sweepDrainedMask = 1 << 31
mgcsweep.go#L154: if state&sweepDrainedMask != 0 {
mgcsweep.go#L171: if (state&^sweepDrainedMask)-1 >= sweepDrainedMask {
mgcsweep.go#L175: if state != sweepDrainedMask {
mgcsweep.go#L196: if state&sweepDrainedMask != 0 {
mgcsweep.go#L199: if a.state.CompareAndSwap(state, state|sweepDrainedMask) {
mgcsweep.go#L207: return a.state.Load() &^ sweepDrainedMask
mgcsweep.go#L214: return a.state.Load() == sweepDrainedMask
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |